import './assets/main.css'

import { createApp } from 'vue'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import { createPinia } from 'pinia'
import Vue3TouchEvents, { type Vue3TouchEventsOptions } from 'vue3-touch-events'
import il8n from './i18n'

import App from './App.vue'
import router from './router'
const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(pinia)
app.use(router)
app.use(il8n)
app.use<Vue3TouchEventsOptions>(Vue3TouchEvents, {})
app.mount('#app')
